package bigdata.backend.datasource.test;

import bigdata.backend.datasource.entity.Datasource;
import bigdata.backend.datasource.mapper.DatasourceMapper;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class TestDatasourceMapper {
    @Autowired
    private DatasourceMapper datasourceMapper;

    @Test
    public void testSelect() {
        Datasource dataSource = datasourceMapper.selectById("1001");
        System.out.println(dataSource);
    }
}